package com.clqteam.serviceimpl;

import com.clqteam.dao.insertShDao;
import com.clqteam.daoimpl.insertShDaoImpl;
import com.clqteam.service.insertShService;

public class insertShServiceImpl implements insertShService{
	insertShDao    ins = new insertShDaoImpl();
	@Override
	public int insertShByAllInfo(String pName, String pType, int pAmount, String pClass, double pCost, double pPrice,String pTime,
			int supId) {
		
		return ins.insertShByAllInfo(pName, pType, pAmount, pClass, pCost, pPrice, pTime, supId);
	}
	@Override
	public void setdirInfo(String drInfo, String drTime, int eId, String eName) {
		ins.setdirInfo(drInfo, drTime, eId, eName);
		
	}
	@Override
	public void setOrder(String oTime, int supId, int oClassId, double oMoney, int eId, int vId, String code) {
		ins.setOrder(oTime, supId, oClassId, oMoney, eId, vId, code);
		
	}
	@Override
	public int getOidByCode(String code) {
		return ins.getOidByCode(code);
	}
	@Override
	public void setOrderInfo(int oId, int pId, int poAmount, double poPrice) {
		ins.setOrderInfo(oId, pId, poAmount, poPrice);
		
	}
	@Override
	public void setAccountant(int oId) {
		ins.setAccountant(oId);
		
	}
	@Override
	public int getPidByAllInfo(String pName, String pType, int pAmount, String pClass, double pCost, double pPrice,
			String pTime, int supId) {
		return ins.getPidByAllInfo(pName, pType, pAmount, pClass, pCost, pPrice, pTime, supId);
	}

}
